var mainMark = {
    "生之花": {
        "生命值": {
            "增幅输出": { "mark": 1.0, "weight": 0.8 },
            "剧变输出": { "mark": 1.0, "weight": 0.8 },
            "防御核心": { "mark": 1.0, "weight": 0.8 },
            "生命核心": { "mark": 1.0, "weight": 0.8 },
            "精通核心": { "mark": 1.0, "weight": 0.8 },
            "攻击治疗": { "mark": 1.0, "weight": 0.8 },
            "生命治疗": { "mark": 1.0, "weight": 0.8 },
            "功能辅助": { "mark": 1.0, "weight": 0.8 }
        }
    },

    "死之羽": {
        "攻击力": {
            "增幅输出": { "mark": 1.0, "weight": 0.8 },
            "剧变输出": { "mark": 1.0, "weight": 0.8 },
            "防御核心": { "mark": 1.0, "weight": 0.8 },
            "生命核心": { "mark": 1.0, "weight": 0.8 },
            "精通核心": { "mark": 1.0, "weight": 0.8 },
            "攻击治疗": { "mark": 1.0, "weight": 0.8 },
            "生命治疗": { "mark": 1.0, "weight": 0.8 },
            "功能辅助": { "mark": 1.0, "weight": 0.8 }
        }
    },

    "时之沙": {
        "攻击力": {
            "增幅输出": { "mark": 1.0, "weight": 1.0 },
            "剧变输出": { "mark": 1.0, "weight": 1.0 },
            "防御核心": { "mark": 1.0, "weight": 0.9 },
            "生命核心": { "mark": 1.0, "weight": 0.9 },
            "精通核心": { "mark": 0.8, "weight": 0.9 },
            "攻击治疗": { "mark": 1.0, "weight": 1.0 },
            "生命治疗": { "mark": 0.0, "weight": 1.0 },
            "功能辅助": { "mark": 1.0, "weight": 0.9 }
        },
        "防御力": {
            "增幅输出": { "mark": 0.0, "weight": 1.0 },
            "剧变输出": { "mark": 0.0, "weight": 1.0 },
            "防御核心": { "mark": 1.0, "weight": 1.0 },
            "生命核心": { "mark": 0.0, "weight": 1.0 },
            "精通核心": { "mark": 0.0, "weight": 1.0 },
            "攻击治疗": { "mark": 0.0, "weight": 1.0 },
            "生命治疗": { "mark": 0.0, "weight": 1.0 },
            "功能辅助": { "mark": 0.0, "weight": 1.0 }
        },
        "生命值": {
            "增幅输出": { "mark": 0.0, "weight": 1.0 },
            "剧变输出": { "mark": 0.0, "weight": 1.0 },
            "防御核心": { "mark": 0.0, "weight": 1.0 },
            "生命核心": { "mark": 1.0, "weight": 1.0 },
            "精通核心": { "mark": 0.0, "weight": 1.0 },
            "攻击治疗": { "mark": 0.0, "weight": 1.0 },
            "生命治疗": { "mark": 1.0, "weight": 1.0 },
            "功能辅助": { "mark": 0.0, "weight": 1.0 }
        },
        "元素充能": {
            "增幅输出": { "mark": 0.0, "weight": 1.0 },
            "剧变输出": { "mark": 0.0, "weight": 1.0 },
            "防御核心": { "mark": 0.0, "weight": 1.0 },
            "生命核心": { "mark": 0.0, "weight": 1.0 },
            "精通核心": { "mark": 0.6, "weight": 1.0 },
            "攻击治疗": { "mark": 1.0, "weight": 1.0 },
            "生命治疗": { "mark": 1.0, "weight": 1.0 },
            "功能辅助": { "mark": 1.2, "weight": 1.0 }
        },
        "元素精通": {
            "增幅输出": { "mark": 0.8, "weight": 0.9 },
            "剧变输出": { "mark": 0.6, "weight": 0.9 },
            "防御核心": { "mark": 0.6, "weight": 0.9 },
            "生命核心": { "mark": 0.6, "weight": 0.9 },
            "精通核心": { "mark": 1.2, "weight": 1.0 },
            "攻击治疗": { "mark": 0.6, "weight": 1.0 },
            "生命治疗": { "mark": 0.6, "weight": 1.0 },
            "功能辅助": { "mark": 0.8, "weight": 0.9 }
        }
    },

    "空之杯": {
        "攻击力": {
            "增幅输出": { "mark": 1.0, "weight": 0.9 },
            "剧变输出": { "mark": 1.0, "weight": 0.9 },
            "防御核心": { "mark": 1.0, "weight": 0.9 },
            "生命核心": { "mark": 1.0, "weight": 0.9 },
            "精通核心": { "mark": 0.8, "weight": 0.9 },
            "攻击治疗": { "mark": 1.0, "weight": 1.0 },
            "生命治疗": { "mark": 0.0, "weight": 1.0 },
            "功能辅助": { "mark": 1.0, "weight": 0.9 }
        },
        "防御力": {
            "增幅输出": { "mark": 0.0, "weight": 1.0 },
            "剧变输出": { "mark": 0.0, "weight": 1.0 },
            "防御核心": { "mark": 1.0, "weight": 0.9 },
            "生命核心": { "mark": 0.0, "weight": 1.0 },
            "精通核心": { "mark": 0.0, "weight": 1.0 },
            "攻击治疗": { "mark": 0.0, "weight": 1.0 },
            "生命治疗": { "mark": 0.0, "weight": 1.0 },
            "功能辅助": { "mark": 0.0, "weight": 1.0 }
        },
        "生命值": {
            "增幅输出": { "mark": 0.0, "weight": 1.0 },
            "剧变输出": { "mark": 0.0, "weight": 1.0 },
            "防御核心": { "mark": 0.0, "weight": 1.0 },
            "生命核心": { "mark": 1.0, "weight": 0.9 },
            "精通核心": { "mark": 0.0, "weight": 1.0 },
            "攻击治疗": { "mark": 0.0, "weight": 1.0 },
            "生命治疗": { "mark": 1.0, "weight": 1.0 },
            "功能辅助": { "mark": 0.0, "weight": 1.0 }
        },
        "元素伤害": {
            "增幅输出": { "mark": 0.8, "weight": 1.0 },
            "剧变输出": { "mark": 0.6, "weight": 1.0 },
            "防御核心": { "mark": 0.6, "weight": 1.0 },
            "生命核心": { "mark": 0.6, "weight": 1.0 },
            "精通核心": { "mark": 1.2, "weight": 1.0 },
            "攻击治疗": { "mark": 0.6, "weight": 1.0 },
            "生命治疗": { "mark": 0.6, "weight": 1.0 },
            "功能辅助": { "mark": 0.8, "weight": 1.0 }
        },
        "物理伤害": {
            "增幅输出": { "mark": 1.2, "weight": 1.0 },
            "剧变输出": { "mark": 1.2, "weight": 1.0 },
            "防御核心": { "mark": 1.2, "weight": 1.0 },
            "生命核心": { "mark": 1.2, "weight": 1.0 },
            "精通核心": { "mark": 0.0, "weight": 1.0 },
            "攻击治疗": { "mark": 0.0, "weight": 1.0 },
            "生命治疗": { "mark": 0.0, "weight": 1.0 },
            "功能辅助": { "mark": 0.0, "weight": 1.0 }
        },
        "元素精通": {
            "增幅输出": { "mark": 0.8, "weight": 0.9 },
            "剧变输出": { "mark": 0.6, "weight": 0.9 },
            "防御核心": { "mark": 0.6, "weight": 0.9 },
            "生命核心": { "mark": 0.6, "weight": 0.9 },
            "精通核心": { "mark": 1.2, "weight": 1.0 },
            "攻击治疗": { "mark": 0.6, "weight": 1.0 },
            "生命治疗": { "mark": 0.6, "weight": 1.0 },
            "功能辅助": { "mark": 0.8, "weight": 0.9 }
        }
    },

    "理之冠": {
        "攻击力": {
            "增幅输出": { "mark": 1.0, "weight": 0.9 },
            "剧变输出": { "mark": 1.0, "weight": 0.9 },
            "防御核心": { "mark": 1.0, "weight": 0.9 },
            "生命核心": { "mark": 1.0, "weight": 0.9 },
            "精通核心": { "mark": 0.8, "weight": 0.9 },
            "攻击治疗": { "mark": 1.0, "weight": 0.9 },
            "生命治疗": { "mark": 0.0, "weight": 1.0 },
            "功能辅助": { "mark": 1.0, "weight": 0.9 }
        },
        "防御力": {
            "增幅输出": { "mark": 0.0, "weight": 1.0 },
            "剧变输出": { "mark": 0.0, "weight": 1.0 },
            "防御核心": { "mark": 1.0, "weight": 0.9 },
            "生命核心": { "mark": 0.0, "weight": 1.0 },
            "精通核心": { "mark": 0.0, "weight": 1.0 },
            "攻击治疗": { "mark": 0.0, "weight": 1.0 },
            "生命治疗": { "mark": 0.0, "weight": 1.0 },
            "功能辅助": { "mark": 0.0, "weight": 1.0 }
        },
        "生命值": {
            "增幅输出": { "mark": 0.0, "weight": 1.0 },
            "剧变输出": { "mark": 0.0, "weight": 1.0 },
            "防御核心": { "mark": 0.0, "weight": 1.0 },
            "生命核心": { "mark": 1.0, "weight": 0.9 },
            "精通核心": { "mark": 0.0, "weight": 1.0 },
            "攻击治疗": { "mark": 0.0, "weight": 1.0 },
            "生命治疗": { "mark": 1.0, "weight": 0.9 },
            "功能辅助": { "mark": 0.0, "weight": 1.0 }
        },
        "暴击率": {
            "增幅输出": { "mark": 1.2, "weight": 1.0 },
            "剧变输出": { "mark": 1.2, "weight": 1.0 },
            "防御核心": { "mark": 1.2, "weight": 1.0 },
            "生命核心": { "mark": 1.2, "weight": 1.0 },
            "精通核心": { "mark": 1.2, "weight": 1.0 },
            "攻击治疗": { "mark": 0.8, "weight": 1.0 },
            "生命治疗": { "mark": 0.8, "weight": 1.0 },
            "功能辅助": { "mark": 1.2, "weight": 1.0 }
        },
        "暴击伤害": {
            "增幅输出": { "mark": 1.2, "weight": 1.0 },
            "剧变输出": { "mark": 1.2, "weight": 1.0 },
            "防御核心": { "mark": 1.2, "weight": 1.0 },
            "生命核心": { "mark": 1.2, "weight": 1.0 },
            "精通核心": { "mark": 1.2, "weight": 1.0 },
            "攻击治疗": { "mark": 0.8, "weight": 1.0 },
            "生命治疗": { "mark": 0.8, "weight": 1.0 },
            "功能辅助": { "mark": 1.2, "weight": 1.0 }
        },
        "治疗加成": {
            "增幅输出": { "mark": 0.0, "weight": 1.0 },
            "剧变输出": { "mark": 0.0, "weight": 1.0 },
            "防御核心": { "mark": 0.0, "weight": 1.0 },
            "生命核心": { "mark": 0.0, "weight": 1.0 },
            "精通核心": { "mark": 0.0, "weight": 1.0 },
            "攻击治疗": { "mark": 1.2, "weight": 1.0 },
            "生命治疗": { "mark": 1.2, "weight": 1.0 },
            "功能辅助": { "mark": 0.0, "weight": 1.0 },
        },
        "元素精通": {
            "增幅输出": { "mark": 0.8, "weight": 0.9 },
            "剧变输出": { "mark": 0.6, "weight": 0.9 },
            "防御核心": { "mark": 0.6, "weight": 0.9 },
            "生命核心": { "mark": 0.6, "weight": 0.9 },
            "精通核心": { "mark": 1.2, "weight": 1.0 },
            "攻击治疗": { "mark": 0.6, "weight": 1.0 },
            "生命治疗": { "mark": 0.6, "weight": 1.0 },
            "功能辅助": { "mark": 0.8, "weight": 0.9 }
        }
    }




}

var secondaryMark = {
    "暴击率": {
        "增幅输出": 1,
        "剧变输出": 1,
        "防御核心": 1,
        "生命核心": 1,
        "精通核心": 1,
        "攻击治疗": 0,
        "生命治疗": 0,
        "功能辅助": 0.75
    },
    "暴击伤害": {
        "增幅输出": 1,
        "剧变输出": 1,
        "防御核心": 1,
        "生命核心": 1,
        "精通核心": 1,
        "攻击治疗": 0,
        "生命治疗": 0,
        "功能辅助": 0.75
    },
    "攻击%": {
        "增幅输出": 1,
        "剧变输出": 1,
        "防御核心": 0.75,
        "生命核心": 0.75,
        "精通核心": 0.75,
        "攻击治疗": 1.2,
        "生命治疗": 0,
        "功能辅助": 0.75
    },
    "生命%": {
        "增幅输出": 0,
        "剧变输出": 0,
        "防御核心": 0,
        "生命核心": 1,
        "精通核心": 0,
        "攻击治疗": 0,
        "生命治疗": 1.2,
        "功能辅助": 0
    },
    "防御%": {
        "增幅输出": 0,
        "剧变输出": 0,
        "防御核心": 1,
        "生命核心": 0,
        "精通核心": 0,
        "攻击治疗": 0,
        "生命治疗": 0,
        "功能辅助": 0
    },
    "元素充能": {
        "增幅输出": 0.5,
        "剧变输出": 0.5,
        "防御核心": 0.5,
        "生命核心": 0.5,
        "精通核心": 0.75,
        "攻击治疗": 1.2,
        "生命治疗": 1.2,
        "功能辅助": 1
    },
    "元素精通": {
        "增幅输出": 0.75,
        "剧变输出": 0.5,
        "防御核心": 0.5,
        "生命核心": 0.5,
        "精通核心": 1,
        "攻击治疗": 0,
        "生命治疗": 0,
        "功能辅助": 1
    },
    "攻击力": {
        "增幅输出": 0.25,
        "剧变输出": 0.25,
        "防御核心": 0,
        "生命核心": 0,
        "精通核心": 0,
        "攻击治疗": 0.5,
        "生命治疗": 0,
        "功能辅助": 0
    },
    "生命值": {
        "增幅输出": 0,
        "剧变输出": 0,
        "防御核心": 0,
        "生命核心": 0.25,
        "精通核心": 0,
        "攻击治疗": 0,
        "生命治疗": 0.5,
        "功能辅助": 0
    },
    "防御力": {
        "增幅输出": 0,
        "剧变输出": 0,
        "防御核心": 0.25,
        "生命核心": 0,
        "精通核心": 0,
        "攻击治疗": 0,
        "生命治疗": 0,
        "功能辅助": 0
    },
    "无": {
        "增幅输出": 0.23,
        "剧变输出": 0.20,
        "防御核心": 0.31,
        "生命核心": 0.31,
        "精通核心": 0.23,
        "攻击治疗": 0.06,
        "生命治疗": 0.19,
        "功能辅助": 0.20
    }
}

var artifactsMark = {
    "增幅输出": 1,
    "剧变输出": 1,
    "防御核心": 0.95,
    "生命核心": 0.95,
    "精通核心": 0.95,
    "攻击治疗": 0.9,
    "生命治疗": 0.9,
    "功能辅助": 0.9
}